package com.wx.spring.annotations;

import java.lang.annotation.*;

/**
 * @author wx
 * @Description: 自动装配注解
 * @date 2019/1/5 000519:57
 */
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyAutowired {
    boolean required() default true;
}
